package com.lemote.service.order.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.lemote.dao.order.FlowTaskDao;
import com.lemote.entity.FlowTask;
import com.lemote.service.impl.BaseServiceImpl;
import com.lemote.service.order.FlowTaskService;

/**
 * 
 * @author wuhui
 * @time 2011-7-19 下午08:57:21
 * @Version:0.0.1
 * @since smt
 */
@Component
public class FlowTaskServiceImpl extends
		BaseServiceImpl<FlowTask, Long, FlowTaskDao> implements FlowTaskService {

	@Autowired
	@Override
	public void setEntityDao(FlowTaskDao flowTaskDao) {

		entityDao = flowTaskDao;
	}
	@Override
	public FlowTask getTaskByTaskName(String taskName) {

		return entityDao.getTaskByTaskName(taskName);
	}
}
